package com.ranjiaqi.file;

import java.io.File;
import java.io.FileFilter;

/**
 * @ClassName fileFilter
 * @Description TODO
 * @Author hp
 * @Date 2021/7/1 10:08
 * @Version 1.0
 **/
public class fileFilter implements FileFilter {

    @Override
    public boolean accept(File pathname) {
        return pathname.toString().toLowerCase().endsWith("java");
    }
}
